import React from 'react';
import logo from './user.svg';
import './UserCenter.css';

export default class UserIcon extends React.Component {
    render() {
        return (
            <img src={logo} className="user-icon" alt="user-center" onClick={this.props.click} />
        )
    }
}
